﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Services
{
    public interface ISchedule
    {
        List<Schedules> GetMyUnfinishSchedules(string uid);
        List<Schedules> GetMyPeddingSchedules(string uid);
        List<Schedules> GetMyFinishSchedules(string uid);
        List<Schedules> GetMyApproveSchedules(string uid);

        Schedules GetScheduleById(string id);

        bool InsertSchedules(Schedules schedule);
        bool UpdateSchedules(Schedules schedule);
        bool DeleteSchedule(int id);
    }
}
